package com.hmj.hmjaiagent.demo.invoke;

import dev.langchain4j.community.model.dashscope.QwenChatModel;

public class Langhain4jInvoke {
    public static void main(String[] args) {
        QwenChatModel model = QwenChatModel.builder()
                .apiKey(TestApiKey.API_KEY)
                .modelName("qwen-turbo")
                .build();
        String answer = model.chat("说'你好'");
        System.out.println(answer);
    }
}
